libs/foreignmemory: Fix osdep_xenforeignmemory_map prototype
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 15 Jul 2021 07:31:12 +0000 (09:31 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 15 Jul 2021 07:31:12 +0000 (09:31 +0200)
commit64d93d6d414c8cb8d88afd08c544773f1c13d9aa
tree4506f362d1c9d818665f99c2169d6e546fd8765a
parent3ae25fc2b03cc583754098aaf80773a6e51832da
libs/foreignmemory: Fix osdep_xenforeignmemory_map prototype

Commit cf8c4d3d13b8 made some preparation to have one day
variable-length-array argument, but didn't declare the array in the
function prototype the same way as in the function definition. And now
GCC 11 complains about it.

Fixes: cf8c4d3d13b8 ("tools/libs/foreignmemory: pull array length argument to map forward")
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: 5d3e4ebb5c71477d74a0c503438545a0126d3863
master date: 2021-06-15 18:07:58 +0100
tools/libs/foreignmemory/private.h